# Copyright (c) 2023 by Michael Zahniser
#
# Endless Sky is free software: you can redistribute it and/or modify it under the
# terms of the GNU General Public License as published by the Free Software
# Foundation, either version 3 of the License, or (at your option) any later version.
#
# Endless Sky is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with
# this program. If not, see <https://www.gnu.org/licenses/>.

mission "Betelgeuse Shipment [0]"
	name "積み荷を<planet>へ"
	description "<cargo>を、この地域で評判の高い船舶メーカー、ベテルギウス・シップヤードの本拠地<planet>へ届けてください。報酬は<payment>です。"
	cargo "武器" 5 2 .1
	job
	repeat
	to offer
		random < 10
		has "landing access: Prime"
	source
		not government Pirate
		near Betelgeuse 2 10
		attributes core factory
	destination Prime
	npc
		government Pirate
		personality heroic harvests plunders
		fleet "Small Northern Pirates"
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		payment 0 160
		dialog phrase "generic cargo delivery payment"

mission "Betelgeuse Shipment [1]"
	name "積み荷を<planet>へ"
	description "<cargo>を、この地域で評判の高い船舶メーカー、ベテルギウス・シップヤードの本拠地<planet>へ届けてください。報酬は<payment>です。"
	cargo "船体合金" 5 2 .1
	job
	repeat
	to offer
		random < 10
		has "landing access: Prime"
	source
		not government Pirate
		near Betelgeuse 2 10
		attributes core factory mining
	destination Prime
	npc
		government Pirate
		personality heroic harvests plunders
		fleet "Small Northern Pirates"
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		payment 0 160
		dialog phrase "generic cargo delivery payment"

mission "Betelgeuse Shipment [2]"
	name "積み荷を<planet>へ"
	description "<cargo>を、この地域で評判の高い船舶メーカー、ベテルギウス・シップヤードの本拠地<planet>へ届けてください。報酬は<payment>です。"
	cargo "鉱物" 5 2 .1
	job
	repeat
	to offer
		random < 10
		has "landing access: Prime"
	source
		not government Pirate
		near Betelgeuse 2 10
		attributes "far north" core
	destination Prime
	npc
		government Pirate
		personality heroic harvests plunders
		fleet "Small Northern Pirates"
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		payment 0 160
		dialog phrase "generic cargo delivery payment"

mission "Navy resupply [0]"
	name "<planet>の海軍基地へ補給"
	description "<destination>の海軍基地で装備が不足していますが、海軍の補給船は現在別の場所で足止めされていて対応できません。<cargo>を<date>までに<planet>へ届ければ<payment>が支払われます。"
	cargo "軍需品" 5 2 .1
	job
	repeat
	deadline
	to offer
		random < 2
	source
		government "Republic" "Syndicate"
		attributes outfitter factory
	destination
		government "Republic"
		distance 2 10
		attributes north
		attributes military outfitter
		not attributes wealthy
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		payment 5000 160
		dialog phrase "generic cargo delivery payment"
